package com.retail.member.mapper;

import com.retail.core.common.CommonMapper;
import com.retail.member.entity.vo.MemberUserVo;
import com.retail.member.entity.request.MemberUserRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 成员用户表 Mapper
 *
 * @author Administrator
 */
@Mapper
public interface MemberUserMapper extends CommonMapper<MemberUserRequest, MemberUserVo> {
    /**
     * 根据openId查询数据
     *
     * @param openid openid信息
     * @return 用户信息
     */
    MemberUserVo getModelByOpenId(@Param("openid") String openid);
}
